﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/adminDesign.master" AutoEventWireup="true"
    CodeBehind="AddCooker.aspx.cs" Inherits="PizzaWic.admin.AddCooker" %>

<asp:Content ID="Content1" ContentPlaceHolderID="pageTitle" runat="server">
    Ajouter un compte cuisinier
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="bodyAdmin" runat="server">
    <div id="content-table-inner">
        <table border="0" width="100%" cellpadding="0" cellspacing="0">
            <tr valign="top">
                <td>
                    <div id="step-holder">
                        <div class="step-no">
                        </div>
                        <div class="step-dark-left">
                            <a href="">Veuillez renseigner les champs ci-dessous:</a></div>
                        <div class="clear">
                        </div>
                    </div>
                    <table border="0" cellpadding="0" cellspacing="0" id="id-form">
                        <tr>
                            <th valign="top">
                                Nom:
                            </th>
                            <td>
                                <asp:TextBox ID="name" runat="server" class="inp-form"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="reqName" runat="server" ErrorMessage="* Champ requis"
                                    ControlToValidate="name"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <th valign="top">
                                Prénom:
                            </th>
                            <td>
                                <asp:TextBox ID="surname" runat="server" class="inp-form"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="reqsurname" runat="server" ErrorMessage="* Champ requis"
                                    ControlToValidate="surname"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <th valign="top">
                                Login:
                            </th>
                            <td>
                                <asp:TextBox ID="login" runat="server" class="inp-form" Width="186px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="reqLogin" runat="server" ErrorMessage="* Champ requis"
                                    ControlToValidate="login"></asp:RequiredFieldValidator>
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <th valign="top">
                                Mot de passe:
                            </th>
                            <td>
                                <asp:TextBox ID="password" runat="server" class="inp-form" TextMode="Password"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="reqPwd" runat="server" ErrorMessage="* Champ requis"
                                    ControlToValidate="password"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <th valign="top">
                                Confirmation du mot de passe:
                            </th>
                            <td>
                                <asp:TextBox ID="passwordConfirm" runat="server" class="inp-form" TextMode="Password"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="reqPwdconfirm" runat="server" ErrorMessage="* Champ requis"
                                    ControlToValidate="passwordConfirm"></asp:RequiredFieldValidator>
                                <asp:CompareValidator ID="CompareValidator" runat="server" ErrorMessage="** Les mots de passe ne sont pas identiques" ControlToCompare="password" ControlToValidate="passwordConfirm"></asp:CompareValidator>
                            </td>
                        </tr>
                        <tr>
                            <th>
                                &nbsp;
                            </th>
                            <td valign="top">
                                <br />
                                <asp:Button ID="btnAdd" runat="server" OnClick="btnAdd_Click" Text="Valider" />
                                <%--<input type="button" value="Annuler" />--%>
                                <br />
                                <br />
                                <asp:Label ID="notification" runat="server" Text=""></asp:Label>
                            </td>
                        </tr>
                    </table>
                </td>
                <td>
                    <div id="related-activities">
                        <div id="related-act-top">
                            <img src="../images/forms/header_related_act.gif" width="271" height="43" alt="" />
                        </div>
                        <div id="related-act-bottom">
                            <div id="related-act-inner">
                                <div class="left">
                                    <a href="#">
                                        <img src="../images/forms/icon_edit.gif" width="21" height="21" alt="" /></a></div>
                                <div class="right">
                                    <h5>
                                        Gestion des cuisiniers</h5>
                                    <br />
                                    Une fois les cuisiniers ajoutés, vous pouvez modifier ou supprimer leur compte via
                                    le lien sur le menu de la page, "Gestion des cuisiniers".
                                    <br />
                                    <br />
                                    <ul class="greyarrow">
                                        <li><a href="CookerManagement.aspx">Gestion des cuisiniers</a></li>
                                    </ul>
                                </div>
                                <div class="clear">
                                </div>
                            </div>
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                </td>
            </tr>
        </table>
        <div class="clear">
        </div>
    </div>
</asp:Content>
